package cn.tedu.mvc;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("Car")
public class HelloController {

    @RequestMapping("hi")
    public String HelloBoot() {
        return "hello spring boot";
    }

    @RequestMapping("num")
    public int show(){
        return 12345;
    }


}
